package com.sls.game.dao.maxshu;

import java.util.List;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.maxshu.MaxshuRechargeType;

public interface MaxshuRechargeDAO {

	/**
	 * 插入充值信息
	 * 
	 * @param recharge
	 */
	public void insertRecharge(MaxshuRechargeType recharge);

	/**
	 * 通过产品编号和充值类型名称查询
	 * 
	 * @param recharge
	 * @return
	 */
	public List<MaxshuRechargeType> queryByProIdAndRechargeName(
			MaxshuRechargeType recharge);

	/**
	 * 分页查询
	 * 
	 * @param recharge
	 * @return
	 */
	public Pagination<MaxshuRechargeType> queryPage(
			MaxshuRechargeType recharge);

	/**
	 * 通过产品编号查询充值类型名称列表
	 * 
	 * @param productId
	 * @return
	 */
	public List<String> queryRechargeNameByProductId(String productId);
	
	/**
	 * 根据产品id删除
	 * 
	 * @param productId
	 */
	public void deleteByProductId(String productId);
}
